<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set     -->
<!-- the browser's rendering engine into           -->
<!-- "Quirks Mode". Replacing this declaration     -->
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout.   -->

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/WEB-INF/customTag.tld" prefix="ct"%>
<%@ page isELIgnored="false"%>
<%@ page
	import="com.google.appengine.api.users.UserServiceFactory,com.google.appengine.api.users.UserService,com.google.appengine.api.users.User,java.security.Principal"%>

<%
	UserService userService = UserServiceFactory.getUserService();
%>


<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Auth Play</title>
</head>

<body>
	<h1>Auth Play</h1>
	<p>This page is visible to anyone</p>
	<table>
		<tr>
			<td><a href="/members/index.jsp">member area</a></td>
		</tr>
		<tr>
			<td><a href="/admin/index.jsp">admin area</a></td>
		</tr>
		<tr>
			<td><a
				href="<%=UserServiceFactory.getUserService().createLogoutURL(
						request.getRequestURL().toString())%>">logout</a></td>
		</tr>
	</table>
	<ct:userInfoTable userService="<%=userService%>" />
</body>
</html>
